body {
	margin: 0;
	background: #fff;
	line-height: 1;
	font-family: 'Pingfang SC', 'Lantinghei SC', 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 16px;
	color: #333;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: none;
	-webkit-print-color-adjust: exact;
}
h1, h2, h3, h4, h5, h6, p, ul, ol {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-size: inherit;
}
ul, ol { list-style-type: none; }
img {
	border: none;
	vertical-align: top;
}
a, a:visited {
	text-decoration: none;
	color: #08c;
}
a:hover { text-decoration: underline; }


/* 清浮动 */
.clearfix:after {
	display: block;
	overflow: hidden;
	clear: both;
	height: 0;
	visibility: hidden;
	content: '.';
}

/* 通用列表样式 */
.list>li { list-style: disc; margin-left: 1.3em; }

/* 通用内容样式 */
.content {
	line-height: 1.7;
	text-align: justify;
}

/* 控制某些内容在打印时的显示隐藏 */
.only-for-print { display: none; }
.not-for-print { display: block; }	

/* 内容边界 */
.boundary { clear: both; }
@media (max-width: 768px) {
	.boundary { margin: 0 20px; }
}
@media (min-width: 769px) and (max-width: 1040px) {
	.boundary { margin: 0 30px; }
}
@media (min-width: 1040px) {
	.boundary {
		max-width: 980px;
		margin: 0 auto;
	}
}


/* 按钮 */
.button {
	border-radius: 0.4em;
	padding: 0 0.6em;
	background: #1d9bd9;
	background: -webkit-linear-gradient(#3baee7, #08c);
	background: linear-gradient(#3baee7, #08c);
	color: #f6f6f6;
}
a.button { display: inline-block; }
.button:visited { color: #f6f6f6; }
.button:hover {
	text-decoration: none;
	color: #fff;
	background: #2fa2dc;
	background: -webkit-linear-gradient(#4ab4e8, #1491d0);
	background: linear-gradient(#4ab4e8, #1491d0);
}


/* 页头 */
.header {
	border-bottom: 1px solid #d6d6d6;
	padding: 15px 0;
}
.header__logo__fullname {
	font-family: 'PingHei', 'STHeiti SC', 'SimHei';
	font-size: 28px;
}
.header__logo__jobtitle { color: #888; }
.header__address {
	line-height: 21px;
	font-style: normal;
	font-size: 14px;
}
.header__address__item {
	height: 20px;
	line-height: 20px;
	margin-top: 8px;
	padding-left: 24px;
	background: url(../images/icon.png) no-repeat;
	background-size: 20px auto;
}
.header__address__item-phone { background-position: 0 0; }
.header__address__item-qq { background-position: 0 -28px; }
.header__address__item-email { background-position: left bottom; }
.header__address__item-blog {
	padding-left: 0;
	background: none;
}
.header__address .button { font-size: 12px; }

@media (max-width: 319px) {
	.header__logo__jobtitle {
		margin-top: 10px;
		display: block;
	}
	.header__address { margin-top: 15px; }
}

@media (min-width: 320px) {
	.header__logo {
		line-height: 40px;
		height: 40px;
	}
	.header__logo__jobtitle { padding-left: 10px; }
}

@media (min-width: 520px) {
	.header__address__item {
		float: left;
		margin-right: 22px;
	}
	.header__address__item-blog {
		float: right;
		margin-right: 0;
	}
}

@media (min-width: 880px) {
	.header {
		width: 100%;
		height: 40px;
		position: fixed;
		z-index: 99999;
		overflow: hidden;
		background: rgba(255, 255, 255, 0.95);
	}
	.header .boundary { position: relative; }
	.header__logo {
		position: relative;
		float: left;
	}
	.header__logo__fullname { font-size: 2.5em; }
	.header__logo__jobtitle {
		position: absolute;
		left: 100%;
		bottom: 0;
		line-height: 20px;
		white-space: nowrap;
	}
	.header__address {
		position: absolute;
		right: 0;
		bottom: 0;
	}
	.header__address__item {
		margin-left: 28px;
		margin-right: 0;
	}

	/* 空出页头位置 */
	.main { padding-top: 71px; }
}


/* 章节 */
.section:nth-child(even) { background: #fafafa; }
.section__header {
	text-shadow: 1px 1px 0 #fff;
	line-height: 1.4;
}
.section__header__title, .section__header__subtitle {
	font-family: 'Microsoft JhengHei', 'Microsoft YaHei', 'STHeiti SC', 'SimHei';
	text-align: center;
}
.section__header__subtitle { color: #999; }

@media (max-width: 749px) {
	.section .boundary { padding: 25px 0; }
	.section__header { margin-bottom: 20px; }
	.section__header__title { font-size: 26px; }
	.section__header__subtitle { font-size: 20px; }
}

@media (min-width: 750px) {
	.section .boundary { padding: 35px 0; }
	.section__header { margin-bottom: 30px; }
	.section__header__title { font-size: 40px; }
	.section__header__subtitle { font-size: 34px; }
}


/* 技术技能章节 */
.tech-skill-list__item {
	position: relative;
	animation-duration: 1.5s;
}
.tech-skill-list__item-javascript {
	animation-name: bar-javascript;
}
@keyframes bar-javascript {
	0% { width: 0; }
	100% { width: 100%; }
}
.tech-skill-list__item-html-and-css {
	width: 90%;
	animation-name: bar-html-and-css;
}
@keyframes bar-html-and-css {
	0% { width: 0; }
	100% { width: 90%; }
}
.tech-skill-list__item-nodejs {
	width: 80%;
	animation-name: bar-nodejs;
}
@keyframes bar-nodejs {
	0% { width: 0; }
	100% { width: 80%; }
}
.tech-skill-list__item-aspdotnet {
	width: 55%;
	animation-name: bar-aspdotnet;
}
@keyframes bar-aspdotnet {
	0% { width: 0; }
	100% { width: 55%; }
}
.tech-skill-list__item-sql {
	width: 50%;
	animation-name: bar-sql;
}
@keyframes bar-sql {
	0% { width: 0; }
	100% { width: 50%; }
}
.tech-skill-list__item-photoshop {
	width: 45%;
	animation-name: bar-photoshop;
}
@keyframes bar-photoshop {
	0% { width: 0; }
	100% { width: 45%; }
}
.tech-skill-list__item__name {
	height: 40px;
	line-height: 40px;
	padding-left: 10px;
	border-left: 3px solid;
	overflow: hidden;
	background-color: #fff6dd;
	border-color: #fdbc40;
	color: #ff742a;
}
.tech-skill-list__item--practised .tech-skill-list__item__name {
	background-color: #eaf6d0;
	border-color: #80bd01;
	color: #6e9c0f;
}
.tech-skill-list__item--mastered .tech-skill-list__item__name {
	background-color: #d6efff;
	border-color: #3498db;
	color: #2a7da9;
}	
.tech-skill-list__item__detail {
	position: absolute;
	left: 150px;
	top: 12px;
	z-index: 9999;
	max-width: 400px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	display: none;
}

@media (max-width: 749px) {
	.tech-skill-list__item { margin-bottom: 15px; }
}

@media (min-width: 750px) {
	.tech-skill-list__item { margin-bottom: 20px; }
	.tech-skill-list__item:hover .tech-skill-list__item__detail {
		display: block;
		font-size: 14px;
	}

	@keyframes fade-in {
		0% {
			display: none;
			opacity: 0;
		}
		1% {
			display: block;
			opacity: 0;
		}
		100% {
			display: block;
			opacity: 1;
		}
	}
	.fade { animation: fade-in 0.8s; }
}


/* 教育经历 */
@media (max-width: 959px) {
	.edu {
		margin-top: 25px;
		padding-bottom: 15px;
		border-bottom: 2px dashed #ccc;
	}
	.edu-university {
		border-bottom: none;
		padding-bottom: 0;
	}
	.edu__logo {
		width: 30%;
		max-width: 150px;
		min-width: 120px;
		margin: 0 0 10px 20px;
		float: right;
	}
}

@media (min-width: 960px) {
	.edu {
		width: 100%;
		float: left;
		box-sizing: border-box;
	}
	.edu__logo { width: 150px; }
	.edu-university .edu__logo {
		float: right;
		margin-right: 100px;
	}
	.edu-university .content{
		width: 650px;
	}
}


/* 工作经验章节 */
.work-exp-list {
	padding: 1px 0;
	margin-left: 8px;
	border-left: 4px solid #ccc;
}
.work-exp-list__point {
	position: relative;
	padding-left: 15px;
	margin: 15px 0;
	height: 26px;
	line-height: 26px;
}
.work-exp-list__point__ico {
	position: absolute;
	left: -14px;
	top: 0;
	width: 18px;
	height: 18px;
	border: 3px solid #fff;
	border-radius: 12px;
	background: #3498db;
}
.work-exp-list__company { margin-left: 20px; }
.work-exp-list__company__header__logo {
	width: 100px;
	display: block;
}
.work-exp-list__company__header__logo img { width: 100%; }
.work-exp-list__company__header__title {
	font-size: 1.2em;
	font-weight: bold;
}
.work-exp-list__company__header__jobtitle { color: #888; }
.work-exp-list__company__body { margin-top: 8px; }

@media (max-width: 639px) {
	.work-exp-list__company__logo {
		display: block;
		margin-bottom: 8px;
	}
	.work-exp-list__company__header__title {
		margin-top: 10px;
		color: blue;
	}
	.work-exp-list__company__header__jobtitle { margin-top: 6px; }
}

@media (min-width: 640px) {
	.work-exp-list__company {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.work-exp-list__company__header {
		position: relative;
		padding-left: 115px;
	}
	.work-exp-list__company__header__logo {
		position: absolute;
		left: 0;
		top: 0;
	}
	.work-exp-list__company__header__title,
	.work-exp-list__company__header__jobtitle { display: inline-block; }
	.work-exp-list__company__header__jobtitle:before {
		content: '\2014\2014';
		padding-right: 4px;
	}
	.work-exp-list__company__body { padding-left: 115px; }
}


/* 项目经验章节 */
.project { border-top: 2px dashed #ccc; }
.project:first-child {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}
.project__intro__header {
	position: relative;
	margin-bottom: 8px;
	line-height: 1.3;
}
.project__intro__header__title {
	font-size: 1.2em;
	font-weight: bold;
}

.tech-tag-list__item {
	height: 24px;
	line-height: 24px;
	padding: 0 6px;
	border-radius: 3px;
	display: inline-block;
	vertical-align: middle;
	font-size: 0.75em;
	font-family: 'Lucida Grande', arial;
	color: #fff;
}
.tech-tag-list__item-javascript {background: #f0db4f;}
.tech-tag-list__item-nodejs { background-color: #80bd01; }
.tech-tag-list__item-html { background-color: #f60; }
.tech-tag-list__item-css { background-color: #f90; }
.tech-tag-list__item-aspdotnet { background-color: #68217a; }
.tech-tag-list__item-sqlite { background-color: #003b57; }
.tech-tag-list__item-mysql { background-color: #015a84; }
.tech-tag-list__item-jquery { background-color: #ec4d1c; }
.tech-tag-list__item-canvas { background-color: #f60; }
.tech-tag-list__item-vuejs { background-color: #4fc08d; }

.project__intro__header__period {
	position: absolute;
	right: 0;
	bottom: 0;
	line-height: 24px;
	font-size: 14px;
	color: #888;
}
.project__intro__links {
	margin-top: 10px;
	text-align: right;
	word-spacing: 1em;
}
.project__intro__links .link_hover{
	position: relative;
}
.project__intro__links .link_hover:hover img{
	display: block;
}
.project__intro__links .link_hover img {
	display: none;
	position: absolute;
	width: 160px;
	bottom: 30px;
	left: 50%;
	transform: translate(-50%, 0);
}
.project__thumb {
	max-height: 200px;
	overflow: hidden;
}
.project__thumb img {
	width: 100%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

@media (max-width: 379px) {
	.project__intro__header__period {
		position: static;
		margin-top: 2px;
	}
}

@media (max-width: 749px) {
	.project {
		margin-top: 18px;
		padding-top: 22px;
	}
	.project__thumb {
		width: 90%;
		margin: 12px auto 0 auto;
	}
	.project__intro__header__title { padding-bottom: 3px; }
}

@media (min-width: 750px) {
	.project__intro {
		width: 100%;
		float: left;
	}
	.project__intro__header { margin-top: -2px; }
	.project__intro__header__title { padding-bottom: 3px; }

	.project__thumb { float: right; }
	.project--nothumb { padding-right: 10px !important; }
}

@media (min-width: 750px) and (max-width: 959px) {
	.project {
		margin-top: 20px;
		padding-top: 30px;
		padding-right: 290px;
	}
	.project__thumb {
		width: 250px;
		margin-right: -280px;
	}
}

@media (min-width: 960px) {
	.project {
		margin-top: 25px;
		padding-top: 35px;
		padding-left: 10px;
		padding-right: 380px;
	}
	.project__thumb {
		width: 320px;
		margin-right: -370px;
	}
}


/* 页脚 */
.footer {
	border-top: 1px solid #e8e8e8;
	font-size: 0.875em;
	color: #888;
}
.footer .boundary { padding: 15px 0; }
.footer__qrcode__img {
	width: 60px;
	height: 60px;
	float: left;
}
.footer__qrcode__text {
	margin: 7px 0 0 10px;
	float: left;
}
.footer__copyright a { color: #000; }

@media (max-width: 749px) {
	.footer__copyright { margin-top: 8px; }
	.footer__copyright p { text-align: left; }
}

@media (min-width: 750px) {
	.footer__qrcode { float: left; }
	.footer__copyright {
		margin-top: 7px;
		float: right;
	}
	.footer__copyright p { text-align: right; }
}